package com.villaday.idf.model2;

import java.util.List;

public class Home_configurations {


    /**
     * code : 200
     * status : success
     * msg : success
     * body : {"categories":[{"name":"房源","query":"type=100"},{"name":"门票","query":"type=11"},{"name":"本地生活","query":"type=13"}],"middleAdverts":[{"jumpType":3,"startDateTime":"2018-01-01 00:00:00","material":{"type":0,"url":"https://img.villaday.com/static/17/img/20181218111900.jpeg"},"miniAppId":"gh_08970ca2656f","miniProgramType":3,"periodTime":0,"endDateTime":"2019-01-30 00:00:00","url":"pages/rebate/index"},{"jumpType":2,"startDateTime":"2018-01-01 00:00:00","material":{"type":0,"url":"https://img.villaday.com/static/17/img/20181218112000.jpeg"},"periodTime":0,"endDateTime":"2019-01-30 00:00:00","url":"https://www.villaday.com"},{"jumpType":1,"startDateTime":"2018-01-01 00:00:00","material":{"type":0,"url":"https://img.villaday.com/static/17/img/20181218111900.jpeg"},"periodTime":0,"endDateTime":"2019-01-30 00:00:00","url":"page/village/list"}],"scenes":[{"jumpType":1,"startDateTime":1545213885526,"material":{"type":0,"url":"https://img.villaday.com/static/17/img/20181210111510-3x.png"},"periodTime":0,"name":"别墅","endDateTime":1545386685526,"url":"page/village/list"},{"jumpType":1,"startDateTime":1545213885526,"material":{"type":0,"url":"https://img.villaday.com/static/17/img/20181210111511-3x.png"},"periodTime":0,"name":"市区民宿","endDateTime":1545386685526,"url":"page/house/list"},{"jumpType":1,"startDateTime":1545213885526,"material":{"type":0,"url":"https://img.villaday.com/static/17/img/20181210111512-3x.png"},"periodTime":0,"name":"酒店","endDateTime":1545386685526,"url":""},{"jumpType":1,"startDateTime":1545213885526,"material":{"type":0,"url":"https://img.villaday.com/static/17/img/20181210111513-3x.png"},"periodTime":0,"name":"度假村","endDateTime":1545386685526,"url":""},{"jumpType":1,"startDateTime":1545213885526,"material":{"type":0,"url":"https://img.villaday.com/static/17/img/20181210111514-3x.png"},"periodTime":0,"name":"温泉","endDateTime":1545386685526,"url":"page/house/list"},{"jumpType":1,"startDateTime":1545213885527,"material":{"type":0,"url":"https://img.villaday.com/static/17/img/20181210111515-3x.png"},"periodTime":0,"name":"网红","endDateTime":1545386685527,"url":"page/house/list"},{"jumpType":1,"startDateTime":1545213885527,"material":{"type":0,"url":"https://img.villaday.com/static/17/img/20181210111516-3x.png"},"periodTime":0,"name":"亲子","endDateTime":1545386685527,"url":"page/house/list"}],"topAdverts":[{"jumpType":1,"startDateTime":"2018-01-01 00:00:00","material":{"type":0,"url":"https://img.villaday.com/static/17/img/20181218111900.jpeg"},"periodTime":0,"endDateTime":"2019-01-30 00:00:00","url":"page/village/list"},{"jumpType":2,"startDateTime":"2018-01-01 00:00:00","material":{"type":0,"url":"https://img.villaday.com/static/17/img/20181218112000.jpeg"},"periodTime":0,"endDateTime":"2019-01-30 00:00:00","url":"https://www.villaday.com"},{"jumpType":3,"startDateTime":"2018-01-01 00:00:00","material":{"type":0,"url":"https://img.villaday.com/static/17/img/20181218111900.jpeg"},"miniAppId":"gh_08970ca2656f","miniProgramType":3,"periodTime":0,"endDateTime":"2019-01-30 00:00:00","url":"pages/rebate/index"}]}
     */

    private String code;
    private String status;
    private String msg;
    private BodyEntity body;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public BodyEntity getBody() {
        return body;
    }

    public void setBody(BodyEntity body) {
        this.body = body;
    }

    public static class BodyEntity {
        private List<CategoriesEntity> categories;
        private List<MiddleAdvertsEntity> middleAdverts;
        private List<ScenesEntity> scenes;
        private List<TopAdvertsEntity> topAdverts;

        public List<CategoriesEntity> getCategories() {
            return categories;
        }

        public void setCategories(List<CategoriesEntity> categories) {
            this.categories = categories;
        }

        public List<MiddleAdvertsEntity> getMiddleAdverts() {
            return middleAdverts;
        }

        public void setMiddleAdverts(List<MiddleAdvertsEntity> middleAdverts) {
            this.middleAdverts = middleAdverts;
        }

        public List<ScenesEntity> getScenes() {
            return scenes;
        }

        public void setScenes(List<ScenesEntity> scenes) {
            this.scenes = scenes;
        }

        public List<TopAdvertsEntity> getTopAdverts() {
            return topAdverts;
        }

        public void setTopAdverts(List<TopAdvertsEntity> topAdverts) {
            this.topAdverts = topAdverts;
        }

        public static class CategoriesEntity {
            public CategoriesEntity(String name, String query) {
                this.name = name;
                this.query = query;
            }

            /**
             * name : 房源
             * query : type=100
             */

            private String name;
            private String query;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getQuery() {
                return query;
            }

            public void setQuery(String query) {
                this.query = query;
            }
        }

        public static class MiddleAdvertsEntity {
            /**
             * jumpType : 3
             * startDateTime : 2018-01-01 00:00:00
             * material : {"type":0,"url":"https://img.villaday.com/static/17/img/20181218111900.jpeg"}
             * miniAppId : gh_08970ca2656f
             * miniProgramType : 3
             * periodTime : 0
             * endDateTime : 2019-01-30 00:00:00
             * url : pages/rebate/index
             */

            private int jumpType;
            private String startDateTime;
            private MaterialEntity material;
            private String miniAppId;
            private int miniProgramType;
            private int periodTime;
            private String endDateTime;
            private String url;

            public int getJumpType() {
                return jumpType;
            }

            public void setJumpType(int jumpType) {
                this.jumpType = jumpType;
            }

            public String getStartDateTime() {
                return startDateTime;
            }

            public void setStartDateTime(String startDateTime) {
                this.startDateTime = startDateTime;
            }

            public MaterialEntity getMaterial() {
                return material;
            }

            public void setMaterial(MaterialEntity material) {
                this.material = material;
            }

            public String getMiniAppId() {
                return miniAppId;
            }

            public void setMiniAppId(String miniAppId) {
                this.miniAppId = miniAppId;
            }

            public int getMiniProgramType() {
                return miniProgramType;
            }

            public void setMiniProgramType(int miniProgramType) {
                this.miniProgramType = miniProgramType;
            }

            public int getPeriodTime() {
                return periodTime;
            }

            public void setPeriodTime(int periodTime) {
                this.periodTime = periodTime;
            }

            public String getEndDateTime() {
                return endDateTime;
            }

            public void setEndDateTime(String endDateTime) {
                this.endDateTime = endDateTime;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public static class MaterialEntity {
                /**
                 * type : 0
                 * url : https://img.villaday.com/static/17/img/20181218111900.jpeg
                 */

                private int type;
                private String url;

                public int getType() {
                    return type;
                }

                public void setType(int type) {
                    this.type = type;
                }

                public String getUrl() {
                    return url;
                }

                public void setUrl(String url) {
                    this.url = url;
                }
            }
        }

        public static class ScenesEntity {
            /**
             * jumpType : 1
             * startDateTime : 1545213885526
             * material : {"type":0,"url":"https://img.villaday.com/static/17/img/20181210111510-3x.png"}
             * periodTime : 0
             * name : 别墅
             * endDateTime : 1545386685526
             * url : page/village/list
             */

            private int jumpType;
            private long startDateTime;
            private MaterialEntityX material;
            private int periodTime;
            private String name;
            private long endDateTime;
            private String url;
            private String miniAppId;
            private int miniProgramType;

            public int getMiniProgramType() {
                return miniProgramType;
            }

            public void setMiniProgramType(int miniProgramType) {
                this.miniProgramType = miniProgramType;
            }

            public String getMiniAppId() {
                return miniAppId;
            }

            public void setMiniAppId(String miniAppId) {
                this.miniAppId = miniAppId;
            }

            public int getJumpType() {
                return jumpType;
            }

            public void setJumpType(int jumpType) {
                this.jumpType = jumpType;
            }

            public long getStartDateTime() {
                return startDateTime;
            }

            public void setStartDateTime(long startDateTime) {
                this.startDateTime = startDateTime;
            }

            public MaterialEntityX getMaterial() {
                return material;
            }

            public void setMaterial(MaterialEntityX material) {
                this.material = material;
            }

            public int getPeriodTime() {
                return periodTime;
            }

            public void setPeriodTime(int periodTime) {
                this.periodTime = periodTime;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public long getEndDateTime() {
                return endDateTime;
            }

            public void setEndDateTime(long endDateTime) {
                this.endDateTime = endDateTime;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public static class MaterialEntityX {
                /**
                 * type : 0
                 * url : https://img.villaday.com/static/17/img/20181210111510-3x.png
                 */

                private int type;
                private String url;

                public int getType() {
                    return type;
                }

                public void setType(int type) {
                    this.type = type;
                }

                public String getUrl() {
                    return url;
                }

                public void setUrl(String url) {
                    this.url = url;
                }
            }
        }

        public static class TopAdvertsEntity {
            /**
             * jumpType : 1
             * startDateTime : 2018-01-01 00:00:00
             * material : {"type":0,"url":"https://img.villaday.com/static/17/img/20181218111900.jpeg"}
             * periodTime : 0
             * endDateTime : 2019-01-30 00:00:00
             * url : page/village/list
             * miniAppId : gh_08970ca2656f
             * miniProgramType : 3
             */

            private int jumpType;
            private String startDateTime;
            private MaterialEntityXX material;
            private int periodTime;
            private String endDateTime;
            private String url;
            private String miniAppId;
            private int miniProgramType;

            public int getJumpType() {
                return jumpType;
            }

            public void setJumpType(int jumpType) {
                this.jumpType = jumpType;
            }

            public String getStartDateTime() {
                return startDateTime;
            }

            public void setStartDateTime(String startDateTime) {
                this.startDateTime = startDateTime;
            }

            public MaterialEntityXX getMaterial() {
                return material;
            }

            public void setMaterial(MaterialEntityXX material) {
                this.material = material;
            }

            public int getPeriodTime() {
                return periodTime;
            }

            public void setPeriodTime(int periodTime) {
                this.periodTime = periodTime;
            }

            public String getEndDateTime() {
                return endDateTime;
            }

            public void setEndDateTime(String endDateTime) {
                this.endDateTime = endDateTime;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getMiniAppId() {
                return miniAppId;
            }

            public void setMiniAppId(String miniAppId) {
                this.miniAppId = miniAppId;
            }

            public int getMiniProgramType() {
                return miniProgramType;
            }

            public void setMiniProgramType(int miniProgramType) {
                this.miniProgramType = miniProgramType;
            }

            public static class MaterialEntityXX {
                /**
                 * type : 0
                 * url : https://img.villaday.com/static/17/img/20181218111900.jpeg
                 */

                private int type;
                private String url;

                public int getType() {
                    return type;
                }

                public void setType(int type) {
                    this.type = type;
                }

                public String getUrl() {
                    return url;
                }

                public void setUrl(String url) {
                    this.url = url;
                }
            }
        }
    }
}
